<!DOCTYPE HTML>
<html>
{include file='public/head'}
<body>
<article class="page-container">
    <div class="container">
        <table class="table table-striped">
            <thead>
            </thead>
            <tbody>
            <tr>
                <td>姓名</td>
                <td>{$student.student_name}</td>
            </tr>
            <tr>
                <td>状态</td>
                <td style="color: red">
                    {switch $student.status}
                    {case 1}在读{/case}
                    {case 2}休学{/case}
                    {case 3}重修{/case}
                    {case 4}毕业{/case}
                    {/switch}
                </td>
            </tr>
            <tr>
                <td>标签</td>
                <td style="color: red">
                    {volist name='student.label' id='vo'}
                        {$vo.option}&nbsp
                    {/volist}
                </td>
            </tr>
            <tr>
                <td>年龄</td>
                <td>{$student.age}</td>
            </tr>
            <tr>
                <td>手机</td>
                <td>{$student.phone}</td>
            </tr>
            <tr>
                <td>性别</td>
                <td>
                    {switch $student.sex}
                    {case 1}男{/case}
                    {case 2}女{/case}
                    {/switch}
                </td>
            </tr>
            <tr>
                <td>地址</td>
                <td>{$student.address}</td>
            </tr>
            <tr>
                <td>身份证</td>
                <td>{$student.card}</td>
            </tr>
            <tr>
                <td>毕业学校</td>
                <td>{$student.phone}</td>
            </tr>
            <tr>
                <td>毕业时间</td>
                <td>{$student.school_endtime}</td>
            </tr>
            <tr>
                <td>学历</td>
                <td>
                    {switch $student.education}
                    {case 1}小学{/case}
                    {case 2}初中{/case}
                    {case 3}高中{/case}
                    {case 4}专科{/case}
                    {case 5}本科及以上{/case}
                    {/switch}
                </td>
            </tr>
            {if $student.is_propramme == 1}
            <tr>
                <td>编程语言</td>
                <td>{$student.programme_language}</td>
            </tr>
            <tr>
                <td>学习时长</td>
                <td>{$student.study_year}</td>
            </tr>
            <tr>
                <td>学习途径</td>
                <td>{$student.study_approach}</td>
            </tr>
            {/if}
            <tr>
                <td>如何知道这门技术的</td>
                <td>{$student.is_know}</td>
            </tr>
            <tr>
                <td>如何知道欣才的</td>
                <td>{$student.is_know_ts}</td>
            </tr>

            <tr>
                <td>留级次数</td>
                <td>{$studentDownCount}</td>
            </tr>
            {if $studentDownCount > 0}
            <tr>
                <td>留级详情</td>
                <td>
                    {volist name='result' id='vo'}
                    {$vo.classroom.class_name} {$vo.teacher.name}
                    {/volist}
                <td>
            </tr>
            {/if}
            </tbody>
        </table>
    </div>
</article>


<!--_footer 作为公共模版分离出去-->
{include file='public/foot'}
<!--请在下方写此页面业务相关的脚本-->
<script type="text/javascript" src="/static/lib/jquery.validation/1.14.0/jquery.validate.js"></script>
<script type="text/javascript" src="/static/lib/jquery.validation/1.14.0/validate-methods.js"></script>
<script type="text/javascript" src="/static/lib/jquery.validation/1.14.0/messages_zh.js"></script>
<script type="text/javascript">
</script>
<!--/请在上方写此页面业务相关的脚本-->
</body>
</html>